package ap.project.controller.main;

public interface Constants {

	// Tag for logging
	static final String TAG = "Twisty";
	
	// Game server port
	static final int PORT = 1234;

	static final int STARTX = 150;
	static final int STARTY = 200;

	static final int STARTBUTTONX = 300;
	static final int STARTBUTTONY = 110;

	// Powerup X position
	static final int STARTPOWERUPX1 = 300;
	static final int STARTPOWERUPX2 = 370;
	static final int STARTPOWERUPX3 = 440;

	// Radius
	static final int JOYSTICKRADIUS = 46;
	static final int BACKGROUNDRADIUS = 90;
	static final int POWERUPY = 10;
	
	// Name background position
	static final int NAMEBGY = 10;
	static final int NAMEBGX = 100;
	
	// Name position
	static final int NAMEX = 110;
	static final int NAMEY = 35;
	
	// Health background position
	static final int HEALTHBGY = 10;
	static final int HEALTHBGX = 10;
	
	// Health position
	static final int HEALTHX = 20;
	static final int HEALTHY = 35;

	// Life position
	static final int HEARTH1X = 22;
	static final int HEARTH1Y = 20;
	static final int HEARTH2X = 44;
	static final int HEARTH2Y = 20;
	static final int HEARTH3X = 66;
	static final int HEARTH3Y = 20;

	static final int BOUNDRY = 30;

	// Receiving codes
	static final int CODEHEALTH = 0;
	static final int CODEPOWERUP = 1;
	static final int CODEVOTE = 2;
	static final int CODESOUND = 3;
	static final int CODEGAMESTATE = 4;

	// Receiving gamestates
	static final int STATEVOTING = 0;
	static final int STATEPAINTBALL = 1;
	static final int STATECHASE = 2;
	static final int STATEBALLPOOL = 3;
	static final int STATECREDITS = 4;

	// Sending codes
	static final int CODENAME = 3;
	static final int CODEDISCONNECT = 6;

	static final int PING = 5;
	static final int PONG = 5;

}